home *** CD-ROM | disk | FTP | other *** search
- ;-------------------------------------------------------------------------
- ; KEYS MACRO FILE FOR ASSEMBLER LABORATORY (C) KURT INGE GR0NBECH
- ;-------------------------------------------------------------------------
- ; In this file you set up the keys for various functions in ALab,
- ; and you can create macros for keys (have multiple functions on
- ; one key). Keycode names and function names are NOT case-sensitive.
- ;
- ; NB!
- ; ■ You have to start ALab with the '/K' switch after you have
- ; changed something in this file, in order to have the changes
- ; take effect.
- ; ■ EVERY function have to be defined here (after each other),
- ; except 'block comment/uncomment',
- ; even if they don't have a shortcut key. This because it
- ; spares the author for many valuable minutes of extra programming
- ; :)
- ; ■ A semicolon in first column starts a comment line
- ; ■ The keycode name does not have to come at column 33, it only
- ; has to be a blank between the function name and keycode name.
- ;
- ;-------------------------------------------------------------------------
- ; Valid keys
- ;═════════════════════════════════════════════════════════════════════════
- ;
- ;▌kbXXXX Alt-Letter Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbAltA ║ kbAltN
- ; kbAltB ║ kbAltO
- ; kbAltC ║ kbAltP
- ; kbAltD ║ kbAltQ
- ; kbAltE ║ kbAltR
- ; kbAltF ║ kbAltS
- ; kbAltG ║ kbAltT
- ; kbAltH ║ kbAltU
- ; kbAltI ║ kbAltV
- ; kbAltJ ║ kbAltW
- ; kbAltK ║ kbAltX
- ; kbAltL ║ kbAltY
- ; kbAltM ║ kbAltZ
- ;
- ;
- ;▌kbXXXX Special Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbAltEqual ║kbEnd
- ; kbAltMinus ║kbEnter
- ; kbAltSpace ║kbEsc
- ; kbBack ║kbGrayMinus
- ; kbCtrlBack ║kbHome
- ; kbCtrlDel ║kbIns
- ; kbCtrlEnd ║kbLeft
- ; kbCtrlEnter ║kbNoKey
- ; kbCtrlHome ║kbPgDn
- ; kbCtrlIns ║kbPgUp
- ; kbCtrlLeft ║kbGrayPlus
- ; kbCtrlPgDn ║kbRight
- ; kbCtrlPgUp ║kbShiftDel
- ; kbCtrlPrtSc ║kbShiftIns
- ; kbCtrlRight ║kbShiftTab
- ; kbDel ║kbTab
- ; kbDown ║kbUp
- ;
- ;▌kbXXXX Alt-Number Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbAlt1 ║ kbAlt6
- ; kbAlt2 ║ kbAlt7
- ; kbAlt3 ║ kbAlt8
- ; kbAlt4 ║ kbAlt9
- ; kbAlt5 ║ kbAlt0
- ;
- ;▌kbXXXX Function Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbF1 ║ kbF6
- ; kbF2 ║ kbF7
- ; kbF3 ║ kbF8
- ; kbF4 ║ kbF9
- ; kbF5 ║ kbF10
- ;
- ;▌kbXXXX Shift-Function Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbShiftF1 ║ kbShiftF6
- ; kbShiftF2 ║ kbShiftF7
- ; kbShiftF3 ║ kbShiftF8
- ; kbShiftF4 ║ kbShiftF9
- ; kbShiftF5 ║ kbShiftF10
- ;
- ;▌kbXXXX Ctrl-Function Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbCtrlF1 ║ kbCtrlF6
- ; kbCtrlF2 ║ kbCtrlF7
- ; kbCtrlF3 ║ kbCtrlF8
- ; kbCtrlF4 ║ kbCtrlF9
- ; kbCtrlF5 ║ kbCtrlF10
- ;
- ;▌kbXXXX Alt-Function Key Codes▐
- ;
- ; Constant ║ Constant
- ;═════════════╬═══════════
- ; kbAltF1 ║ kbAltF6
- ; kbAltF2 ║ kbAltF7
- ; kbAltF3 ║ kbAltF8
- ; kbAltF4 ║ kbAltF9
- ; kbAltF5 ║ kbAltF10
- ;
- ;═════════════════════════════════════════════════════════════════════════
-
- ; File menu
- FileOpen kbF3
- FileNew kbShiftF8
- FileSave kbF2
- FileSaveas
- FileChangeDir
- FilePrint
- FileGetinfo
- FileDoscommand kbF7
- FileDosShell
- FileExit kbAltX
-
- ; Edit menu
- EditUndo
- EditCut kbShiftDel
- EditCopy kbCtrlIns
- EditPaste kbShiftIns
- EditShowclipboard kbCtrlF6
- EditClear kbCtrlDel
- EditRepeatKey
- EditExpandTabs
- EditCompressSpaces
-
- ; Search menu
- SearchFind
- SearchReplace
- SearchAgain
- SearchGotoLine
-
- ; Run menu
- RunRun kbCtrlF9
- RunRunDebug
- RunParameters
-
- ; Assemble menu
- AssembleAssemble kbAltF9
- AssembleMake
- AssembleLink kbF9
- AssembleBuild
- AssembleExetoCom kbF8
-
- ; Tools menu
- ToolsRunDebugger kbCtrlF10
- ToolsRunProfiler
- ToolsAsciiTable
- ToolsCalculator
- ToolsProcWorkSheet kbCtrlF1
- ToolsMacroWorkSheet kbCtrlF2
- ToolsVarWorkSheet kbCtrlF3
- ToolsHeuristicScan kbCtrlF4
-
- ; Project menu
- ProjectOpen
- ProjectSave
- ProjectClose
- ProjectAdditem
- ProjectDeleteitem
- ProjectLocalOptions
-
- ; Options menu
- OptionsAssembler
- OptionsLinker
- OptionsDirectories
- OptionsEditor
- OptionsDebugging
- OptionsHeuristicScan
- OptionsMouse
- OptionsColors
- OptionsSaveConfig
- OptionsReadConfig
- OptionsSaveDesktop
- OptionsRetrieveDesktop
-
- ; Window menu
- WindowTile
- WindowCascade
- WindowCloseAll
- WindowSizeMove kbCtrlF5
- WindowZoom kbF5
- WindowNext kbF6
- WindowPrevious kbShiftF6
- WindowClose kbAltF3
- WindowDosScreen kbAltF5
- WindowProject
-
- ; Help menu
- HelpContents
- HelpIndex
- HelpTopicSearch kbShiftF1
- HelpOpcodes kbShiftF2
- HelpExtendedASCII kbShiftF3
- HelpKeyCodes kbShiftF4
- HelpScanCodes kbShiftF5
-
- ;═════════════════════════════════════════════════════════════════════════
- ; Here comes the key macros (multiple functions on one key)
- ;
- ; A little disappointment here I guess: It's a matter of just stuffing
- ; several keys in the keyboard buffer, so you first name one key and
- ; then one or several other keys which are to be stuffed in the
- ; keyboard buffer when you press the first key.
- ; I have not had the time to make the keyboard macros better.
- ; I have also almost never used macros in other editors, so you can
- ; say I actually don't know very much about them.
- ;
- ; ■ The keycode name must come in column 2, and then you can name
- ; other keycode names one under another in column >= 3 under the
- ; first keycode name.
- ; ■ Max number of key macros is 20
- ; ■ Max number of keycode names under each macro is 10
- ;
- ; Example:
- ; |1234567890---------------------------------------|
- ; |
- ; | kbAltQ
- ; | kbF2
- ; | kbF3
- ; |
- ; When you press Alt+Q here, the keys F2 and F3 are stuffed in the
- ; keyboard buffer so with the original setup you will first save the
- ; current file and then open another.
- ;═════════════════════════════════════════════════════════════════════════
-
- kbAltQ
- kbF2
- kbF3
-
-